The argument values areint pfxopen(queue_t *q, dev_t *devp, int oflag, int sflag, cred_t *crp);
*q | Pointer to the queue structure being opened. |
*devp | Pointer to a dev_t value from which you can extract both the major and minor device numbers. |
oflag | Flag bits specifying user mode options on the open() call. |
sflag | Flag bits specifying the type of STREAM open: driver, module or clone. |
*crp | Pointer to a cred_t object--an opaque structure for use in authentication. |
The pfxopen() entry point is a public name. In addition a pointer to it must be defined in the qinit structure for the read queue.